Buckingham's pi theorem and its example